package com.cc.od.boss;

import java.math.BigDecimal;
/*
@description:销售员
@ClassName SalesPerson
@author chen
@create 2024-09-29 10:10
@Version 1.0
*/
public class SalesPerson {
    // 销售员id
    private Integer id;
    // 销售员领导id
    private Integer superiorId;
    // 销售员业绩
    private BigDecimal sales;

    public SalesPerson()
    {

    }

    public SalesPerson(Integer id, Integer superiorId, BigDecimal sales)
    {
        this.id = id;
        this.superiorId = superiorId;
        this.sales = sales;
    }

    public Integer getId()
    {
        return id;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getSuperiorId()
    {
        return superiorId;
    }

    public void setSuperiorId(Integer superiorId)
    {
        this.superiorId = superiorId;
    }

    public BigDecimal getSales()
    {
        return sales;
    }

    public void setSales(BigDecimal sales)
    {
        this.sales = sales;
    }

    @Override
    public String toString()
    {
        return "SalesPerson{" +
                "id=" + id +
                ", superiorId=" + superiorId +
                ", sales=" + sales +
                '}';
    }
}
